package com.qianye.service;

import com.qianye.entity.Category;
import com.qianye.entity.Customer;
import com.qianye.entity.Expressinfo;
import com.qianye.entity.Rejectdetails;

import java.text.ParseException;
import java.util.List;

public interface CustomerService {

    int addCustomer(Customer customer);

    List<Category> findAllCate();

    List<Expressinfo> addressseeAll(String username);

    void reciverExpress(Integer kid) throws ParseException;

    void addRejectDetails(Rejectdetails rejectdetails);

    Customer findCustomerByName(String username);

    List<Expressinfo> findOwnerSent(String username);

    List<Expressinfo> findMyReceive(String username);

}
